//
//  SearchTableViewCell.m
//  HappyToday
//
//  Created by Ale (ziming) Lee on 16/8/10.
//  Copyright © 2016年 ziming_lee. All rights reserved.
//

#import "SearchTableViewCell.h"

@implementation SearchTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


-(void)setSearchModel:(SearchModel *)searchModel{

    _searchModel = searchModel;
    self.title.text = _searchModel.title;
    self.timestr.text = _searchModel.timestr;
    self.venuename.text = _searchModel.venuename;

    NSURL *picURL = [NSURL URLWithString:_searchModel.pic];
    [self.picImageV setImageWithURL:picURL];

}

@end
